package com.woniuxy.usercoachassemble.service;

import com.woniuxy.usercoachassemble.entity.CoachInfo;
import com.woniuxy.usercoachassemble.entity.Userinfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 上次登录地址 服务类
 * </p>
 *
 * @author Lucas
 * @since 2020-07-09
 */
public interface UserinfoService extends IService<Userinfo> {

    void updatauserinfobyuserid(Userinfo userinfo);

    //更新教练的基本信息
    void updatecoachuserinfo(Userinfo userinfo, CoachInfo coachInfo);

    List<Map<String,Object>> selectChooseMe(int userId);
}
